<!--
 * @Author: chengjiang
 * @Date: 2024-10-31 10:25:05
 * @Description: 
-->
<template></template>
<script lang="ts">
  import { defineComponent } from 'vue'
  import axios from '../utils/axios'
  import { login } from '../api/home'

  const response = login({})
  console.log('response: ', response)
  export default defineComponent({
    setup() {
      axios
        .get('/users/XPoet')
        .then((res) => {
          console.log('res: ', res)
        })
        .catch((err) => {
          console.log('err: ', err)
        })
    }
  })
</script>